package com.quanyan.runningriding.entity.vo.run;

import com.quanyan.common.validation.base.Insert;
import com.quanyan.common.validation.base.Update;

import javax.validation.constraints.NotNull;

/**
 * VideoVo
 *
 * @author Tu Chun
 * @date 2016/9/20
 */
public class VideoVo {
    @NotNull(groups = Update.class)
    private Integer id;
    /**
     * 一级类型
     */
    private Byte type;
    /**
     * 一级类型名称
     */
    private String typeName;
    /**
     * 二级类型
     */
    private Byte secondType;
    /**
     * 二级类型名称
     */
    private String secondTypeName;
    /**
     * 视频名称
     */
    private String name;
    /**
     * 视频大小
     */
    private Double size;
    /**
     * 视频时长
     */
    private Long time;
    /**
     * 视频地址
     */
    @NotNull(groups = Insert.class)
    private String videoUrl;
    /**
     * 缩略图地址
     */
    @NotNull(groups = Insert.class)
    private String thumbnailUrl;

    /**
     * 缩略小图
     */
    private String smallUrl;

    /**
     * 要点介绍
     */
    private String mainPoints;
    /**
     * 动作感觉
     */
    private String actionFeel;
    /**
     * 注意事项
     */
    private String note;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getSecondTypeName() {
        return secondTypeName;
    }

    public void setSecondTypeName(String secondTypeName) {
        this.secondTypeName = secondTypeName;
    }

    public Byte getSecondType() {
        return secondType;
    }

    public void setSecondType(Byte secondType) {
        this.secondType = secondType;
    }

    public Double getSize() {
        return size;
    }

    public void setSize(Double size) {
        this.size = size;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getTime() {
        return time;
    }

    public void setTime(Long time) {
        this.time = time;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public String getThumbnailUrl() {
        return thumbnailUrl;
    }

    public void setThumbnailUrl(String thumbnailUrl) {
        this.thumbnailUrl = thumbnailUrl;
    }

    public String getMainPoints() {
        return mainPoints;
    }

    public void setMainPoints(String mainPoints) {
        this.mainPoints = mainPoints;
    }

    public String getActionFeel() {
        return actionFeel;
    }

    public void setActionFeel(String actionFeel) {
        this.actionFeel = actionFeel;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getSmallUrl() {
        return smallUrl;
    }

    public void setSmallUrl(String smallUrl) {
        this.smallUrl = smallUrl;
    }
}
